package com.java46.struts2.base.entity.vo;

import com.java46.struts2.base.entity.TDishestypeEntity;
import org.hibernate.annotations.GenericGenerator;

import javax.persistence.*;

/**
 * @ClassName TypeFoods
 * @Description 菜品类型信息
 * @Author zuxia
 * @Date 2018/7/1814:31
 * @Version 1.0
 **/
@Entity
@Table(name = "t_dishestype", schema = "fullboydb")
public class TypeFoods {
        private int dTypeId;
        private String dTypeName;

        private Integer[] dArr;
        @Transient

        public Integer[] getdArr() {
            return dArr;
        }
        public void setdArr(Integer[] dArr) {
            this.dArr = dArr;
        }
        @Id
        @Column(name = "dTypeId")
        @GenericGenerator(name = "t_dishestype",strategy = "identity")
        @GeneratedValue(generator = "t_dishestype")
        public int getdTypeId() {
            return dTypeId;
        }

        public void setdTypeId(int dTypeId) {
            this.dTypeId = dTypeId;
        }

        @Basic
        @Column(name = "dTypeName")
        public String getdTypeName() {
            return dTypeName;
        }

        public void setdTypeName(String dTypeName) {
            this.dTypeName = dTypeName;
        }

    }


